package com.ryskoo.common.dto.cms;

import com.ryskoo.common.constant.CmsParamConstant;
import com.ryskoo.common.dto.BasicDTO;

/**
 * @author renyuting
 * @data 2018-04-24
 */
public class CustomerServiceDTO extends BasicDTO {
    private static final long serialVersionUID = 158929720347290490L;

    /**
     * 客服类型
     */
    private String type;

    private String typeName;
    /**
     * 客服名称
     */
    private String name;

    /**
     * 号码
     */
    private String number;

    /**
     * 排序值
     */
    private String sortValue;

    /**
     * 图片
     */
    private String image;

    /**
     * 所属平台
     * 0-平台  1-商户
     */
    private int plat;

    /**
     * 所属商户
     */
    private String vendorId;

    public String getTypeName() {
        return CmsParamConstant.getTypeNameByKey(this.type);
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSortValue() {
        return sortValue;
    }

    public void setSortValue(String sortValue) {
        this.sortValue = sortValue;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getPlat() {
        return plat;
    }

    public void setPlat(int plat) {
        this.plat = plat;
    }

    public String getVendorId() {
        return vendorId;
    }

    public void setVendorId(String vendorId) {
        this.vendorId = vendorId;
    }
}
